package com.nulstudio.sppm.Entities;

public class UserInfo {
    private int uid;
    private String uName;
    private String rName;
    private String gender;
    private String authority;
    private String headportrait;
    private String password;
    public UserInfo(){}
    public UserInfo(int uid, String uName, String rName, String gender, String authority, String headportrait, String password) {
        this.uid = uid;
        this.uName = uName;
        this.rName = rName;
        this.gender = gender;
        this.authority = authority;
        this.headportrait = headportrait;
        this.password = password;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
                "uid=" + uid +
                ", uName='" + uName + '\'' +
                ", rName='" + rName + '\'' +
                ", gender='" + gender + '\'' +
                ", authority='" + authority + '\'' +
                ", headportrait='" + headportrait + '\'' +
                ", password='" + password + '\'' +
                '}';
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }

    public String getrName() {
        return rName;
    }

    public void setrName(String rName) {
        this.rName = rName;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getAuthority() {
        return authority;
    }

    public void setAuthority(String authority) {
        this.authority = authority;
    }

    public String getHeadportrait() {
        return headportrait;
    }

    public void setHeadportrait(String headportrait) {
        this.headportrait = headportrait;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
